PowerTCP SSH and SFTP for .NET
Write(Byte[],Int32,Int32,Object) Method




Buffer where data is to be copied from.
Offset into the buffer.
Number of bytes to write starting at the offset.
Null may be used.
Writes data to a stream that is received by the SSH-2 host. Uses a reference to a buffer that is marshaled by the COM interface.
Syntax
'Declaration
 
Public Overloads Sub Write( _
   ByRef buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer, _
   ByVal notUsed As Object _
) 
'Usage
 
Dim instance As SessionStream
Dim buffer() As Byte
Dim offset As Integer
Dim count As Integer
Dim notUsed As Object
 
instance.Write(buffer, offset, count, notUsed)
public void Write( 
   ref byte[] buffer,
   int offset,
   int count,
   object notUsed
)
public: void Write( 
   ref byte[]* buffer,
   int offset,
   int count,
   Object* notUsed
) 
public:
void Write( 
   array<byte>^% buffer,
   int offset,
   int count,
   Object^ notUsed
) 

Parameters

buffer
Buffer where data is to be copied from.
offset
Offset into the buffer.
count
Number of bytes to write starting at the offset.
notUsed
Null may be used.
Remarks
This method is only required by the COM interface, and need not be used by .NET applications.
See Also

Reference

SessionStream Class
SessionStream Members
Overload List


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic